# == Schema Information
#
# Table name: avatars
#
#  id         :integer          not null, primary key
#  image      :string
#  user_id    :integer
#  created_at :datetime         not null
#  updated_at :datetime         not null
#


class Avatar < ApplicationRecord
  belongs_to :user
  mount_base64_uploader :image, AvatarUploader, file_name: -> { 'image' }
end
